/**
 * 
 */
package neptune.web.client.view.components.dialogs;

import neptune.web.client.view.input.DefaultInputValidator;

import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.TextBox;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 *
 */
public class LogInDialog extends PropertiesDialog {

	public LogInDialog(){
		this(null);
		this.addProperty("Username", new TextBox(), new DefaultInputValidator());
		this.addProperty("Password", new PasswordTextBox(), new DefaultInputValidator());
		
	}
	
	private LogInDialog(String[] propertyNames) {
		super(propertyNames);
		this.setText("Log In Window");
	}

}
